source/bindbc/sdl/bind/sdlaudio.d(129,12): Error: `@safe` function `SDL_LoadWAV` cannot access `__gshared` data `SDL_LoadWAV_RW` source/bindbc/sdl/bind/sdlevents.d(602,16): Error: `@safe` function `SDL_GetEventState` cannot access `__gshared` data `SDL_EventState` source/bindbc/sdl/bind/sdlevents.d(608,9): Error: `@safe` function `SDL_QuitRequested` cannot access `__gshared` data `SDL_PumpEvents` source/bindbc/sdl/bind/sdlevents.d(609,16): Error: `@safe` function `SDL_QuitRequested` cannot access `__gshared` data `SDL_PeepEvents` source/bindbc/sdl/bind/sdlsurface.d(50,16): Error: `@safe` function `SDL_LoadBMP` cannot access `__gshared` data `SDL_LoadBMP_RW` source/bindbc/sdl/bind/sdlsurface.d(55,16): Error: `@safe` function `SDL_SaveBMP` cannot access `__gshared` data `SDL_SaveBMP_RW` source/bindbc/sdl/dynload.d(66,23): Error: `name.ptr` cannot be used in `@safe` code, use `&name[0]` instead source/bindbc/sdl/dynload.d(82,33): Error: `@safe` function `loadSDL` cannot access `__gshared` data `SDL_Init` source/bindbc/sdl/dynload.d(82,20): Error: cast from `extern (C) int function(uint) nothrow @nogc*` to `void**` not allowed in safe code source/bindbc/sdl/dynload.d(83,33): Error: `@safe` function `loadSDL` cannot access `__gshared` data `SDL_InitSubSystem` source/bindbc/sdl/dynload.d(83,20): Error: cast from `extern (C) int function(uint) nothrow @nogc*` to `void**` not allowed in safe code source/bindbc/sdl/dynload.d(84,33): Error: `@safe` function `loadSDL` cannot access `__gshared` data `SDL_QuitSubSystem` source/bindbc/sdl/dynload.d(84,20): Error: cast from `extern (C) void function(uint) nothrow @nogc*` to `void**` not allowed in safe code source/bindbc/sdl/dynload.d(85,33): Error: `@safe` function `loadSDL` cannot access `__gshared` data `SDL_WasInit` source/bindbc/sdl/dynload.d(85,20): Error: cast from `extern (C) uint function(uint) nothrow @nogc*` to `void**` not allowed in safe code source/bindbc/sdl/dynload.d(86,33): Error: `@safe` function `loadSDL` cannot access `__gshared` data `SDL_Quit` source/bindbc/sdl/dynload.d(86,20): Error: cast from `extern (C) void function() nothrow @nogc*` to `void**` not allowed in safe code source/bindbc/sdl/dynload.d(87,33): Error: `@safe` function `loadSDL` cannot access `__gshared` data `SDL_SetAssertionHandler` source/bindbc/sdl/dynload.d(87,20): Error: cast from `extern (C) void function(extern (C) SDL_assert_state function(const(SDL_assert_data)*, void*) nothrow, void*) nothrow @nogc*` to `void**` not allowed in safe code source/bindbc/sdl/dynload.d(88,33): Error: `@safe` function `loadSDL` cannot access `__gshared` data `SDL_GetAssertionReport` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.